- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
[clr-interp] Interpreter for ARM32 SOFTP #120688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
However, it crashes right after HellWorld print.
Need to test the implementations
This reverts commit b3ba6ec.
- Handle copying args / ret value between interpreter stack and native stack - No Range Expansion for value (>= 8 bytes) - Terminate current routines and add a routine for the value
| @kg I tried Interpreter.cs.  TestPreciseInitCctors test in Interpreter.cs fails with error message:  @jkotas  I found DOTNET_Interpreter option turn off TieredCompilation. So JIT compiler optimize the method aggressively like below. (* If I just turn off TieredCompilation option only, it fails.) Failures are related to Inline Opt, CSE opt and RedundantBranch Opt. Is it known issue? And I just tested by giving mutatesHeaps property to INITCLASS helper. It seems work. I don't know why INITCLASS helper has isPure and doesn't have mutatesHeaps property? Generated x64 codes. Tested with   | 
| 
 The correct way to run Interpreter.cs is either by running InterpreterTester (it sets the environment variables) or by setting all the appropriate environment variables correctly. IIRC you need to set a few vars - disable readytorun, disable tiered compilation, and force on the interpreter for everything inside the Interpreter.dll module. Are you using InterpreterTester? If so, it sounds like maybe your changes have caused a regression somehow. Does it work for you on latest main? | 
| Thank you so much. However, I think the test failure seems a bug in jit compiler. | 
| 
 Yes, this looks like a bug. Opened #121066 | 
Sync stack value between interpreter frame and native stack for unwinding
Enable interpreter for arm32 softfp.